import React from "react";
import { HashRouter as Router, Route, Switch } from "react-router-dom";
import login from "./router/login";
import homepage from "./router/homepage";
import LifeCycle from "./LifeCycle/LifeCycle";

class App extends React.Component {
  render() {
    return (
      <Router>
        <div>
          <Switch>
            <Route exact path="/" component={login} />
            <Route exact path="/homepage/:logIndata" component={homepage} />
            <Route exact path="/LifeCycle" component={LifeCycle} 
            
            
            />
          </Switch>
        </div>
      </Router>
    );
  }
}
export default App;
